package cn.mugutu.finance.domain.system;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统数据字典类型:有多少个类似于domain(id,name)就有几行数据
 *
 * @author ganbo
 *         2016年6月30日 下午12:40:19
 */

@Entity
@Table(name = "sys_dictionarytype")
@Data
public class DictionaryType extends BaseEntity {

    //进入办案区原因
    public static final String INCASE_CAUSE = "inCaseCause";
    //随身物品保管措施
    public static final String CUSTODY_METHOD = "custodyMethod";
    //询问,迅问的房间
    public static final String ASK_ROOM = "askRoom";
    //信息采集项目
    public static final String COLLECT_ITEM = "collectItem";
    //报警情况
    public static final String CALL_POLICE_STATUS = "callPoliceStatus";
    //是否
    public static final String YESORNO = "yesOrNo";
    //最终离开原因
    public static final String END_LEAVE_CAUSE = "endLeaveCause";
    //随身携带物品处理情况
    public static final String carryGoods_Handle_Status = "carryGoodsHandleStatus";

    @Column(unique = true)
    private String sn;      //唯一,不能修改
    private String name;    //domain的名称

    public DictionaryType() {
    }

    public DictionaryType(String sn, String name) {
        super();
        this.sn = sn;
        this.name = name;
    }

    public DictionaryType(Long id, String sn, String name) {
        super();
        setId(id);
        this.sn = sn;
        this.name = name;
    }


}
